function saveWater(){
	$.ajax({
	   type:"post",
	   url :"../costdataentry1.action",
	   data:{
		   "waterAndElectricity.h_id":$(".addh_id").html(),
		   "waterAndElectricity.this_date":$("#this_date").val(),
		   "waterAndElectricity.last_water_amount":$("#last_water_amount").val(),
		   "waterAndElectricity.this_water_amount":$("#this_water_amount").val(),
		   "waterAndElectricity.last_electricity_amount":$("#last_electricity_amount").val(),
		   "waterAndElectricity.this_electricity_amount":$("#this_electricity_amount").val() ,   
		   "waterAndElectricity.conut_water":$("#conut_water").html() ,   
		   "waterAndElectricity.conut_electricity":$("#conut_electricity").html() ,   
	   },
	   dataType:"json",
	   success:function(data){
			if(data=="true"){
				alert("录入成功！");
				window.location.href="costdataentry.jsp";
			}       
	   },
	   error:function(){
		   alert("失败");
	   }
	});	
}
